from django.conf.urls import url

from apps.user import views

urlpatterns = [
    url(r'^register/$',views.RegisterView.as_view(),name='register'),
    url('^g/(?P<username>[a-zA-Z0-9]{5,20})/$',views.UsernameCountView.as_view(),name='username'),
    url('^get/(?P<mobile>[0-9]{11})/$',views.MobileCountView.as_view(),name='mobile')
]